package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.PlatformStrictProfit;
import com.ytjj.qmyx.admin.model.PlatformStrictProfitExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.request.PlatformStrictProfitRequest;
import com.ytjj.qmyx.admin.model.response.PlatformStrictProfitResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("yxPlatformStrictProfitMapper")
public interface PlatformStrictProfitMapper {
    long countByExample(PlatformStrictProfitExample example);

    int deleteByExample(PlatformStrictProfitExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PlatformStrictProfit record);

    int insertSelective(PlatformStrictProfit record);

    List<PlatformStrictProfit> selectByExample(PlatformStrictProfitExample example);

    PlatformStrictProfit selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PlatformStrictProfit record, @Param("example") PlatformStrictProfitExample example);

    int updateByExample(@Param("record") PlatformStrictProfit record, @Param("example") PlatformStrictProfitExample example);

    int updateByPrimaryKeySelective(PlatformStrictProfit record);

    int updateByPrimaryKey(PlatformStrictProfit record);

    List<PlatformStrictProfitResponse> queryList(@Param("userName")String userName, @Param("userId") Integer userId);

    int updateByUserId(PlatformStrictProfitRequest request);
}